aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/pages/posts/[id].tsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-13 00:28:20 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-13 00:28:20 -0700
commit9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c (patch)
treeb421e988ac6c23bc5bff88a95dbf15722b35e01d /examples/hello-next/pages/posts/[id].tsx
parent88a5e2d34d25c3ac3d13a432bbd85daa075c4bcb (diff)
downloadbun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.gz
bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.tar.zst
bun-9e3e9a2d6da9f33f2cfcdb10254f5ef37955019c.zip
Clean up examples a little
Diffstat (limited to 'examples/hello-next/pages/posts/[id].tsx')
-rw-r--r--examples/hello-next/pages/posts/[id].tsx19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/hello-next/pages/posts/[id].tsx b/examples/hello-next/pages/posts/[id].tsx
deleted file mode 100644
index bf795ae83..000000000
--- a/examples/hello-next/pages/posts/[id].tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { useRouter } from "next/router";
-import Link from "next/link";
-
-export default function Post({}) {
- const router = useRouter();
-
- return (
- <div style={{ padding: 16 }}>
- <h1>Post: {router.query.id}</h1>
- <ul>
- <li>
- <Link href="/">
- <a>Root page</a>
- </Link>
- </li>
- </ul>
- </div>
- );
-}